<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Create custom link</title>
</head>
<body>

	<form:form action="create" commandName="addLinkDto" method="POST">
		<table>
			<tr>
				<td colspan="3">Create custom link</td>
			</tr>
			<tr>
				<td><form:label path="originalUrl">Original url</form:label></td>
				<td><form:input path="originalUrl" /></td>
				<td><form:errors path="originalUrl"></form:errors></td>
			</tr>
			<tr>
				<td><form:label path="customUrl">Your custom url</form:label></td>
				<td><form:input path="customUrl" /></td>
				<td><form:errors path="customUrl"></form:errors></td>
			</tr>
			<tr>
				<td><form:label path="visibility">Visibility for your custom link</form:label></td>
				<td><form:input path="visibility" /></td>
				<td><form:errors path="visibility"></form:errors></td>
			</tr>
<!-- 			<tr> -->
<%-- 				<td><form:label path="emailsAllowedList">Allowed emails list</form:label></td> --%>
<%-- 				<td><form:input path="emailsAllowedList" /></td> --%>
<%-- 				<td><form:errors path="emailsAllowedList"></form:errors></td> --%>
<!-- 			</tr> -->
			<tr>
				<td><input type="reset" value="Reset"></td>
				<td colspan="2"><input type="submit" value="Create"></td>
			</tr>
		</table>
	</form:form>

</body>
</html>